// 具体每个页面的ajax请求函数封装到单独的模块内，方便统一管理

// 导入封装的axios
import request from '@/utils/request'

// todo ================= 推荐歌单 ================= 

// 按需导出
export const recommendMusic = params => request({
  // method: 'GET',//默认请求方式GET
  url: "/personalized",
  params
})

// todo ================= 推荐新音乐 =================
export const newSong = params => request({
  url: "/personalized/newsong",
  params,
})